﻿using MES.Desktop.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MES.Desktop.IService
{
    public interface IMenuService
    {
        IEnumerable<MenuEntity> GetAllMenus(string key = "");

        IEnumerable<MenuEntity> GetMenuByRoles(int[] rid);

        int UpdateMenu(MenuEntity menu);
        int DeleteMenu(string id);
        int DeleteMenus(string[] id);
    }
}
